Tanks shall be fitted in their upper part with a shut-off device preventing any build-up of excess pressure inside the shell due to the decomposition of the substances carried, any leakage of liquid, and any entry of foreign matter into the shell.